package com.thtf.strokeinquiry.app.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Id;
import java.util.Date;

public class MedInquiryLog {

    @Id
    private Integer id;

    private String recordId;

    private String recordStep;

    private Integer recordStepOrder;

    private String operation;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    public MedInquiryLog() {
    }

//    public MedInquiryLog(Integer id, String recordId, String recordStep, Integer recordStepOrder, String operation, Date createtime) {
//        this.id = id;
//        this.recordId = recordId;
//        this.recordStep = recordStep;
//        this.recordStepOrder = recordStepOrder;
//        this.operation = operation;
//        this.createtime = createtime;
//    }


    public MedInquiryLog(String recordId, String recordStep, Integer recordStepOrder, String operation, Date createtime) {
        this.recordId = recordId;
        this.recordStep = recordStep;
        this.recordStepOrder = recordStepOrder;
        this.operation = operation;
        this.createtime = createtime;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public String getRecordStep() {
        return recordStep;
    }

    public void setRecordStep(String recordStep) {
        this.recordStep = recordStep == null ? null : recordStep.trim();
    }

    public Integer getRecordStepOrder() {
        return recordStepOrder;
    }

    public void setRecordStepOrder(Integer recordStepOrder) {
        this.recordStepOrder = recordStepOrder;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation == null ? null : operation.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}